<%--
  Created by IntelliJ IDEA.
  User: hcy
  Date: 2021/7/10
  Time: 11:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
request.setCharacterEncoding("utf-8");
String name = (String)session.getAttribute("name");
    System.out.println("新密码："+name);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>找回密码--设置新密码</title>
    <meta name="Keywords" content="网站关键词">
    <meta name="Description" content="网站介绍">
    <link rel="stylesheet" href="/examproject/css/base.css">
    <link rel="stylesheet" href="/examproject/css/iconfont.css">
    <link rel="stylesheet" href="/examproject/css/reg.css">
    <script type="text/javascript">
        function pd(){
            var pwd=document.getElementById("pwd").value;
            var pwd1=document.getElementById("pwd1").value;
            if(pwd!=pwd1){
                alert("两次密码不一致!!!");
                return false;
            }
            return true;
        }
    </script>


</head>
<body>
<div id="ajax-hook">
</div>
<div class="wrap">
    <img src="../manage/images/demo2.png" class="register-image-background" width="100%" height="100%">
    <div class="wpn">
        <form action="/examproject/man/update" method="post" onsubmit="return pd(this)" >
            <div class="form-data find_password">
                <h4>找回密码--设置密码</h4>
                <p class="right_now">
                    已有账号，<a href="/examproject/nologin/Backgroundlogin.jsp">马上登录</a>
                </p>
                <p class="p-input pos">
                    <label  style="">新密码</label>
                    <input type="password" id="pwd" name="pass">
                </p>
                <p class="p-input pos">
                    <label  style="">请再次输入新密码</label>
                    <input type="password" id="pwd1" name="pwd1">
                </p>
                <input type="hidden" value="<%=name %>" name="name" />
                <button class="lang-btn next">完成</button>
                <p class="right">
                    @2021九云
                </p>
            </div>
        </form>
    </div>
</div>
<script src="/examproject/js/jquery.js"></script>
<script src="/examproject/js/agree.js"></script>
</body>
</html>
